﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;


namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class Field
    {
        private String _function;
        private String _label;
        private Boolean _required;

        public Field()
        { }

        [XmlAttribute("function")]
        public String Function
        {
            get { return _function; }
            set { _function = value; }
        }
        [XmlAttribute("label")]
        public String Label
        {
            get { return _label; }
            set { _label = value; }
        }
        [XmlAttribute("required")]
        public Boolean Required
        {
            get { return _required; }
            set { _required = value; }
        }
    }
}
